<%--
  Created by IntelliJ IDEA.
  User: 米兰的小铁匠
  Date: 2020/5/27
  Time: 9:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
  <head>
    <title>主页面</title>
      <link rel="stylesheet" href="utilLib/bootstrap.min.css" type="text/css" media="screen" />
  </head>
  <body>
  <div class="logo-img">
    <img src="img/scimg.png">
  </div>
  <div class="manage-title">西南石油大学新闻管理系统</div>
  <div class="show_box">
    <img src="img/index_bg.jpg">
    <div class="infor">
      <div class="welcome">登录成功!  欢迎您，${username}</div>
      <div class="account">您的用户名是：${username}</br>密码是：${password}</div>
      <div class="online">当前网页在线人数是：${number}</div>
      <div class="management">
        <a href="http://localhost:8080/login_war_exploded/NewsListServlet">管理新闻</a>
      </div>
    </div>
  </div>
  </body>
<style>
  .manage-title{
    width: 1000px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: bold;
  }
  .logo-img{
    width: 170px;
    height: 170px;
    left: 0;
    right: 0;
    margin: auto;
  }
  .logo-img img{
    width: 170px;
    height: 170px;
  }
  .show_box{
    width: 1200px;
    height: 400px;
    margin: 0 auto;
    padding: 50px 100px;
    font-size: 16px;
  }
  .show_box img{
    width: 1000px;
    height: 400px;
  }
  .infor{
    position: fixed;
    background-color: #fff;
    width: 240px;
    height: 250px;
    margin: 0 auto;
    top: 300px;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.7;
  }
  .welcome{
    width: 240px;
    text-align: center;
    margin: 10px 0;
  }
  .account{
    width: 240px;
    text-align: center;
    margin: 10px 0;
  }
  .online{
    width: 240px;
    text-align: center;
    margin: 10px 0;
  }
  .management{
    width: 240px;
    text-align: center;
    margin-top: 50px;
  }
</style>
</html>
